<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Zend Framework Default Application</title>


</head>
<body>
<?php if($this->status === 'admin' || $this->status === 'demo_admin'):?>

    <?php if(!empty($this->request->message)):?>

        <div  style="float:left;padding:10px 100px;;text-align:center;font-size:18px;"><img class="img-polaroid" src="/images/error403.jpeg">
            <div class="alert alert-error"><?=$this->error->request->message;?></div>
        </div>
     <?php else:?>
        <div style="float:left;">
        <div style="width:800px; height:300px;text-align:center;"><img src="/images/error.jpg" />
            <div id="error-message">
                <h1><?=$this->title;?></h1>
                <p style="text-align:center;"><?=$this->message;?></p>
                <p style="color:#FF0000;text-align:center;"><?=$this->error->exception->getMessage();?></p>
            </div>
        </div>
        </div>
        </div>

    <?php endif;?>
<?php else:?>
<?php if(!empty($this->request->message)):?>
    <div  style="margin:0 auto;padding-top:100px;text-align:center;font-size:18px;"><img class="img-polaroid" src="/images/error403.jpeg">
        <div class="alert alert-error" style="width:460px;margin:0 auto;paddong:0;"><?=$this->error->request->message;?></div>
    </div>
<?php else:?>
<div>

<div style="width:600px;height:100px;"></div>
	<div style="width:700px; height:300px;text-align:center;"><img src="/images/error.jpg" /></div>
</div>
<div id="error-message">
<h1><?=$this->title;?></h1>
<p style="text-align:center;"><?=$this->message;?></p>
<p style="color:#FF0000;text-align:center;"><?=$this->exception->getMessage();?></p>
</div>

<div style="width:600px;height:100px;"></div>
<?php if('development'==APPLICATION_ENV):?>
<div id="error-data">
	<h2>Exception message:</h2>
<pre><?=$this->exception->getMessage();?></pre>

<h2>Stack trace:</h2>
<pre><?=$this->exception-0>getTraceAsString()?></pre>
<h2>Request method:</h2>
<pre><?=$this->request->getMethod();?></pre>
<h2>Request params:</h2>
<pre><?php Zend_Debug::dump($this->exception->request->getParams());?></pre>
<h2>Server environment:</h2>
<?php Zend_Debug::dump($this->exception->request->getServer());?>
<h2>System environment</h2>
<?php Zend_Debug::dump($this->request->getEnv());?>
<?php endif;?>
<?php endif;?>
<?php endif;?>
</body>
</html>
